From: Jim Blandy Date: Tue, 29 Jun 1993 22:58:40 +0000 (+0000) Subject: * etags.c: #include "config.h" and the alloca CPP tangle before X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~95139 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=918f9ad18d02e3bdf2878827b38ef9dcfbd9b3af;p=emacs.git * etags.c: #include "config.h" and the alloca CPP tangle before #including the system headers and getopt.h. AIX requires the #pragma to come before any actual C code. --- diff --git a/lib-src/etags.c b/lib-src/etags.c index 22b25678823..c582d61b444 100644 --- a/lib-src/etags.c +++ b/lib-src/etags.c @@ -26,16 +26,9 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ * Sam Kendall added C++. */ -#include -#include -#include -#include - #include "../src/config.h" #undef static -#include "getopt.h" - /* AIX requires this to be the first thing in the file. */ #ifdef __GNUC__ #ifndef alloca @@ -53,6 +46,13 @@ char *alloca (); #endif /* not HAVE_ALLOCA_H */ #endif /* not __GNUC__ */ +#include +#include +#include +#include + +#include "getopt.h" + extern char *malloc (), *realloc (); extern char *getenv (); extern char *strcpy (), *strncpy ();